package teacher.actionform;

import java.util.Date;

import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;

/**
 * 
 * Jun 4, 2009
 *
 * @author Fabian
 *
 */
public class HomeworkForm extends ActionForm {
	//id
	private int id;
	//分页的起始记录
	private int start;
	//每页显示记录数
	private int limit;
	
	private String title;
	
	private String content;
	
	private String sub_time;
	
	private String grade;
	
	private String banji;
	
	private FormFile file_path;

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the start
	 */
	public int getStart() {
		return start;
	}

	/**
	 * @param start the start to set
	 */
	public void setStart(int start) {
		this.start = start;
	}

	/**
	 * @return the limit
	 */
	public int getLimit() {
		return limit;
	}

	/**
	 * @param limit the limit to set
	 */
	public void setLimit(int limit) {
		this.limit = limit;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the sub_time
	 */
	public String getSub_time() {
		return sub_time;
	}

	/**
	 * @param sub_time the sub_time to set
	 */
	public void setSub_time(String sub_time) {
		this.sub_time = sub_time;
	}

	/**
	 * @return the grade
	 */
	public String getGrade() {
		return grade;
	}

	/**
	 * @param grade the grade to set
	 */
	public void setGrade(String grade) {
		this.grade = grade;
	}

	/**
	 * @return the banji
	 */
	public String getBanji() {
		return banji;
	}

	/**
	 * @param banji the banji to set
	 */
	public void setBanji(String banji) {
		this.banji = banji;
	}

	/**
	 * @return the file_path
	 */
	public FormFile getFile_path() {
		return file_path;
	}

	/**
	 * @param file_path the file_path to set
	 */
	public void setFile_path(FormFile file_path) {
		this.file_path = file_path;
	}
	
}
